package com.zhentao.controller;

import com.zhentao.common.dtos.ResponseResult;
import com.zhentao.service.AppUserMemberService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/wx/member")
public class AppUserMemberController {

    @Autowired
    private AppUserMemberService appUserMemberService;

    @GetMapping("/auth/kaitong")
    public ResponseResult kaitong(Integer type) {
        return appUserMemberService.kaitong(type);
    }
}
